<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>


	<table width="100%" border="1px">
		<thead>
			<tr>
				<th>名字</th>
				<th>性别</th>
				<th>年龄</th>
				<th>籍贯</th>
				<th>生日</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${persons}" var="person">
				<tr>          
					<td width=60px>${ person.username }</td>
					<td width=60px>${ person.sex }</td>
					<td width=60px>${ person.age}</td>
					<td width=60px>${ person.np }</td>
					<td><fmt:formatDate value="${ person.birthday }" pattern="yyyy-MM-dd"/></td>
					
					        
				</tr>
			</c:forEach>
		</tbody>
	</table>

</body>
</html>